import request from "@/utils/request";

//封装好的用来调获取所有频道接口的函数
export const getChannels =()=>{
    return request({
        url:'/v1_0/channels'
    })
}
export const getMyChannels = () => {
    return request({
      method: 'GET',
      url: '/v1_0/user/channels'
    })
  }
